package ulteam.land;

import java.text.DecimalFormat;
import java.text.DecimalFormatSymbols;

public class Utils {

	public static DecimalFormat df = null;
	
	static{
		DecimalFormatSymbols dfs = new DecimalFormatSymbols();
		dfs.setDecimalSeparator('.');
		
		df = new DecimalFormat("#.##");
		df.setGroupingUsed(false);
		df.setGroupingSize(3);
		df.setDecimalFormatSymbols(dfs);
	}
	
	public static String printDouble(double nb)
	{
		return df.format(nb);
	}
}
